space.RGBtoXYZ[8] = bz;
babl_matrix_invert (space.RGBtoXYZ, space.XYZtoRGB);
+ babl_matrix_to_float (space.RGBtoXYZ, space.RGBtoXYZf);
+ babl_matrix_to_float (space.XYZtoRGB, space.XYZtoRGBf);
+
space_db[i]=space;
space_db[i].instance.name = space_db[i].name;
if (name)
const Babl *trc[3];
char name[128];
double whitepoint[3]; /* CIE XYZ whitepoint */
+
double RGBtoXYZ[9]; /* matrices for conversions */
double XYZtoRGB[9];
+ float RGBtoXYZf[9]; /* matrices for conversions */
+ float XYZtoRGBf[9];
/* the space should contain matrix to/from XYZ */
/* and before converting a span, all that needs to be